﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sprout.Repository
{
    [AttributeUsage(AttributeTargets.Method, Inherited = true)]
    public class RepositoryActionAttribute : Attribute
    {
        /// <summary>
        /// sql 或 XML节点ID
        /// </summary>
        public string Sql { set; get; }
        /// <summary>
        /// 获取节点ID
        /// </summary>
        public string StatementId { get; set; }
    }
}
